package net.zjitc.reggiebymeme.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import net.zjitc.reggiebymeme.dto.DishDto;
import net.zjitc.reggiebymeme.entity.Dish;

public interface DishService extends IService<Dish> {
    public void saveWithFlavor(DishDto dishDto);

    public Page<DishDto> pageWithCategoryName(Integer page, Integer pageSize, String name);

    public void updateWithFlavor(DishDto dishDto);

    public DishDto getByIdWithFlavor(Long id);
}
